|
|
Try the below code.
'funciton{-y/1/2}' should be same as 'function{-y/1/(2)}'.
But it behaves differently.
(On the other hand, 'function{y/1/2}' is same as 'function{y/1/(2)}'.)
POV Win Beta 9, Win-Me
R. Suzuki
//---------------------------------------------------------------------
#version 3.5;
camera { location z*-20 direction 3*z}
light_source {z*-50 color rgb 1}
box{-1,1
texture{pigment{function{-y/1/2} color_map{[.0 rgb 0] [1 rgb 1]} }}
translate <-1.5,1.5,0> }
box{-1,1
texture{pigment{function{-y/1/(2)} color_map{[.0 rgb 0] [1 rgb 1]} }}
translate <1.5,1.5,0> }
box{-1,1
texture{pigment{function{y/1/2} color_map{[.0 rgb 1] [1 rgb 0]} }}
translate <-1.5,-1.5,0>}
box{-1,1
texture{pigment{function{y/1/(2)} color_map{[.0 rgb 1] [1 rgb 0]} }}
translate <1.5,-1.5,0> }
//------------------------------------------------
Post a reply to this message
|
|